home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / PInterfaces / CRMSerialDevices.p < prev    next >
Encoding:
Text File  |  1997-08-12  |  1.9 KB  |  85 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        CRMSerialDevices.p
  3.  
  4.      Contains:    Communications Resource Manager Serial Device interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1988-1997, 1995, 1997 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT CRMSerialDevices;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __CRMSERIALDEVICES__}
  28. {$SETC __CRMSERIALDEVICES__ := 1}
  29.  
  30. {$I+}
  31. {$SETC CRMSerialDevicesIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __TYPES__}
  35. {$I Types.p}
  36. {$ENDC}
  37.  
  38.  
  39. {$PUSH}
  40. {$ALIGN MAC68K}
  41. {$LibExport+}
  42.  
  43.  
  44. CONST
  45.                                                                 {      for the crmDeviceType field of the CRMRec data structure     }
  46.     crmSerialDevice                = 1;                            {     version of the CRMSerialRecord below     }
  47.     curCRMSerRecVers            = 1;
  48.  
  49. { Maintains compatibility w/ apps & tools that expect an old style icon    }
  50.  
  51. TYPE
  52.     CRMIconRecordPtr = ^CRMIconRecord;
  53.     CRMIconRecord = RECORD
  54.         oldIcon:                ARRAY [0..31] OF LONGINT;                {  ICN#     }
  55.         oldMask:                ARRAY [0..31] OF LONGINT;
  56.         theSuite:                Handle;                                    {  Handle to an IconSuite     }
  57.         reserved:                LONGINT;
  58.     END;
  59.  
  60.     CRMIconPtr                            = ^CRMIconRecord;
  61.     CRMIconHandle                        = ^CRMIconPtr;
  62.     CRMSerialRecordPtr = ^CRMSerialRecord;
  63.     CRMSerialRecord = RECORD
  64.         version:                INTEGER;
  65.         inputDriverName:        StringHandle;
  66.         outputDriverName:        StringHandle;
  67.         name:                    StringHandle;
  68.         deviceIcon:                CRMIconHandle;
  69.         ratedSpeed:                LONGINT;
  70.         maxSpeed:                LONGINT;
  71.         reserved:                LONGINT;
  72.     END;
  73.  
  74.     CRMSerialPtr                        = ^CRMSerialRecord;
  75. {$ALIGN RESET}
  76. {$POP}
  77.  
  78. {$SETC UsingIncludes := CRMSerialDevicesIncludes}
  79.  
  80. {$ENDC} {__CRMSERIALDEVICES__}
  81.  
  82. {$IFC NOT UsingIncludes}
  83.  END.
  84. {$ENDC}
  85.